package com.atguigu.gulimail.product.feign;

import com.atguigu.common.utils.R;
import com.atguigu.gulimail.product.vo.SkuHasStockVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@FeignClient("gulimail-ware")
public interface WareFeignService {
    @RequestMapping("/ware/waresku/hasstock")
    //@RequiresPermissions("ware:waresku:list")
    R getSkuHasStock(@RequestBody List<Long> skuIds);
}
